<?php
/**
 * TOP API: taobao.taobaoke.tool.relation request
 * 
 * @author auto create
 * @since 1.0, 2012-04-17 12:36:56
 */
class TaobaokeToolRelationRequest
{
    /** 
     * 用户的pubid 用来判断这个pubid是否是appkey关联的开发者的注册用户
     **/
    private $pubid;
    
    private $apiParas = array();
    
    public function setPubid($pubid)
    {
        $this->pubid = $pubid;
        $this->apiParas["pubid"] = $pubid;
    }

    public function getPubid()
    {
        return $this->pubid;
    }

    public function getApiMethodName()
    {
        return "taobao.taobaoke.tool.relation";
    }
    
    public function getApiParas()
    {
        return $this->apiParas;
    }
    
    public function check()
    {
        
        RequestCheckUtil::checkNotNull($this->pubid,"pubid");
    }
}
